package com.tencreat.mapper.mall;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tencreat.domain.mall.SupplierWithdrawAudit;
import com.tencreat.domain.mall.vo.RrsAuditResultVO;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * 供应商提现记录Mapper接口
 *
 * @author tencreat
 * @date 2022-03-17
 */
public interface SupplierWithdrawAuditMapper extends BaseMapper<SupplierWithdrawAudit> {

    RrsAuditResultVO priceStatistics();

    BigDecimal refuseAmount();

    BigDecimal waitAmount();

    BigDecimal auditAmount();

    IPage<SupplierWithdrawAudit> supplierList(Page<Object> objectPage, @Param("item")SupplierWithdrawAudit supplierWithdrawAudit);

    BigDecimal value(Long uuid);
}
